﻿@model RBS.Core.Model.U_User
@{
    ViewBag.Title = "用户编辑";
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}

<!--导航栏-->
<div class="location">
    <a href="javascript:history.back(-1);" class="back"><i></i><span>返回列表页</span></a>
    <a href="@Url.Action("Main", "Home")" class="home"><i></i><span>首页</span></a>
    <i class="arrow"></i>
    <span>食客编辑</span>
</div>
<!--/导航栏-->



<!--内容-->
<div class="content-tab-wrap">
    <div id="floatHead" class="content-tab">
        <div class="content-tab-ul-wrap">
            <ul>
                <li><a href="javascript:;" onclick="tabs(this);" class="selected">编辑食客</a></li>
            </ul>
        </div>
    </div>
</div>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true) 
    @Html.HiddenFor(model => model.Id)
    <div class="tab-content">

        <dl>
            <dt>食客姓名</dt>
            <dd>

                @Html.TextBoxFor(model => model.U_Name, null, new { @class = "input normal" })
                <span class="Validform_checktip">*食客姓名</span>

            </dd>
        </dl>
        <dl>
            <dt>昵称</dt>
            <dd>

                @Html.TextBoxFor(model => model.Nick_Name, null, new { @class = "input normal" })
                <span class="Validform_checktip">*昵称</span>

            </dd>
        </dl>
        <dl>
            <dt>食客账户</dt>
            <dd>

                @Html.TextBoxFor(model => model.U_Uid, null, new { @class = "input normal" })
                <span class="Validform_checktip">*食客账户</span>

            </dd>
        </dl>
        <dl>
            <dt>密码</dt>
            <dd>

                @Html.TextBoxFor(model => model.PassWord, null, new { @class = "input normal" })
                <span class="Validform_checktip">*密码</span>

            </dd>
        </dl>
        <dl>
            <dt>邮件</dt>
            <dd>

                @Html.TextBoxFor(model => model.Email, null, new { @class = "input normal" })
                <span class="Validform_checktip">*邮件</span>

            </dd>
        </dl>
        <dl>
            <dt>联系电话</dt>
            <dd>

                @Html.TextBoxFor(model => model.Telphone, null, new { @class = "input normal" })
                <span class="Validform_checktip">*联系电话</span>

            </dd>
        </dl>
        <dl>
            <dt>手机</dt>
            <dd>

                @Html.TextBoxFor(model => model.Mobile, null, new { @class = "input normal" })
                <span class="Validform_checktip">*手机</span>

            </dd>
        </dl>
        <dl>
            <dt>性别</dt>
            <dd>

                @Html.TextBoxFor(model => model.Sex, null, new { @class = "input normal" })
                <span class="Validform_checktip">*性别</span>

            </dd>
        </dl>
        <dl>
            <dt>生日</dt>
            <dd>
                  @Html.TextBoxFor(model => model.Birthday, String.Format("{0:yyyy-MM-dd}", Model.Birthday), new { @class = "input date", onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" , datatype=@"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/",errormsg="请选择正确的日期",sucmsg=" ",width="100px"}) 
               
                <span class="Validform_checktip">*生日</span>

            </dd>
        </dl>
        <dl>
            <dt>qq</dt>
            <dd>

                @Html.TextBoxFor(model => model.QQ, null, new { @class = "input normal" })
                <span class="Validform_checktip">*qq</span>

            </dd>
        </dl>
        <dl>
            <dt>经验值</dt>
            <dd>

                @Html.TextBoxFor(model => model.Exp, null, new { @class = "input normal" })
                <span class="Validform_checktip">*经验值</span>

            </dd>
        </dl>
        <dl>
            <dt>用户状态</dt>
            <dd>
                 <div class="rule-multi-radio"> 
                   <label for="Status">正常</label>
                    @Html.RadioButtonFor(model => model.Status, 0, new { @id = "radio1", @name = "rdolstState" }) 
                    <label for="Status">待验证</label>
                    @Html.RadioButtonFor(model => model.Status, 1, new { @id = "radio2", @name = "rdolstState" })
                    <label for="Status">待审核</label>
                    @Html.RadioButtonFor(model => model.Status, 2, new { @id = "radio3", @name = "rdolstState" })
                      <label for="Status">锁定</label>
                    @Html.RadioButtonFor(model => model.Status, 3, new { @id = "radio3", @name = "rdolstState" })
                </div> 
                <span class="Validform_checktip"></span>

            </dd>
        </dl>
        <dl>
            <dt>注册时间</dt>
            <dd>
                @Html.TextBoxFor(model => model.Reg_Time, String.Format("{0:yyyy-MM-dd}", Model.Reg_Time), new { @class = "input date", onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" , datatype=@"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/",errormsg="请选择正确的日期",sucmsg=" ",width="100px"}) 
               
                <span class="Validform_checktip">*注册时间</span>

            </dd>
        </dl>
        <dl>
            <dt>注册ip</dt>
            <dd>

                @Html.TextBoxFor(model => model.Reg_IP, null, new { @class = "input normal" })
                <span class="Validform_checktip">*注册ip</span>

            </dd>
        </dl>


    </div>
    <!--/内容-->

    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-list">
            <input type="submit" value="提交保存" class="btn" />
            <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />

        </div>
        <div class="clear"></div>
    </div>
    <!--/工具栏-->
        
}










